<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <!--声明文档兼容模式，表示使用IE浏览器的最新模式-->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!--设置视口的宽度(值为设备的理想宽度)，页面初始缩放值<理想宽度/可见宽度>-->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>农产品溯源</title>

  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-table/bootstrap-table.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-editable/css/bootstrap-editable.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/ionicons/css/ionicons.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/iCheck/square/blue.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/morris/morris.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/datepicker/datepicker3.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/daterangepicker/daterangepicker.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/datatables/dataTables.bootstrap.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/treeTable/jquery.treetable.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/treeTable/jquery.treetable.theme.default.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/select2/select2.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/colorpicker/bootstrap-colorpicker.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/adminLTE/css/AdminLTE.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/adminLTE/css/skins/_all-skins.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/style.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/ionslider/ion.rangeSlider.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/ionslider/ion.rangeSlider.skinNice.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-slider/slider.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css">
  <link rel="stylesheet" href="__STATIC__/dist/plugins/bootstrap-validator/bootstrap-validator.css">
  <link rel="stylesheet" href="__STATIC__/my/css/myCss.css">

</head>

<body style="background-color: #FCFCFC;">

<!--导航栏-->
<div class="container">
  <!-- Nav tabs -->
  <nav class="navbar navbar-default">
    <div class="container-fluid">
      <div class="navbar-header" style="width: 100%;">
        <ul class="nav navbar-nav">
          <li>
            <a class="navbar-brand" href="home" style="padding: 1px 1px; width: 70px; margin: 0 2px; height: 50px;">
              <img alt="Brand" src="__STATIC__/img/logo.jpeg" style="width: 55px;height: 50px;">
            </a>
          </li>
          <li><a href="home"><b>农产品溯源</b></a></li>
        </ul>
        <ul class="Mymenu">
          {if condition="$Think.session.uID"}
          <li><a href="{:url('cart')}"><i class="glyphicon glyphicon-shopping-cart"></i>购物车</a></li>
<!--          <li><a href="#">{$Think.session.name}</a></li>-->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <span class="hidden-xs">{$Think.session.name}</span>
            </a>
            <ul class="dropdown-menu" style="width: 5px;text-align: center;">
              <li style="width: 100%;"><a href="{:url('user/updPwd')}">修改密码</a></li>
              <li style="width: 100%;"><a href="{:url('user/logout')}">退出登录</a></li>
            </ul>
          </li>
          {else /}
          <li><a href="#" onclick="alert('您尚未登录，请先登录！')"><i class="glyphicon glyphicon-shopping-cart"></i>购物车</a></li>
          <li><a href="{:url('userRegister')}">注册</a></li>
          <li><a href="{:url('userLogin')}">登录</a></li>
          {/if}
        </ul>
      </div>
    </div>
  </nav>